home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / cposv.z / cposv
Encoding:
Text File  |  2002-10-03  |  4.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCPPPPOOOOSSSSVVVV((((3333SSSS))))                                                            CCCCPPPPOOOOSSSSVVVV((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CPOSV - compute the solution to a complex system of linear equations A *
  10.      X = B,
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE CPOSV( UPLO, N, NRHS, A, LDA, B, LDB, INFO )
  14.  
  15.          CHARACTER     UPLO
  16.  
  17.          INTEGER       INFO, LDA, LDB, N, NRHS
  18.  
  19.          COMPLEX       A( LDA, * ), B( LDB, * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      CPOSV computes the solution to a complex system of linear equations A * X
  36.      = B, where A is an N-by-N Hermitian positive definite matrix and X and B
  37.      are N-by-NRHS matrices.
  38.  
  39.      The Cholesky decomposition is used to factor A as
  40.         A = U**H* U,  if UPLO = 'U', or
  41.         A = L * L**H,  if UPLO = 'L',
  42.      where U is an upper triangular matrix and  L is a lower triangular
  43.      matrix.  The factored form of A is then used to solve the system of
  44.      equations A * X = B.
  45.  
  46.  
  47. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  48.      UPLO    (input) CHARACTER*1
  49.              = 'U':  Upper triangle of A is stored;
  50.              = 'L':  Lower triangle of A is stored.
  51.  
  52.      N       (input) INTEGER
  53.              The number of linear equations, i.e., the order of the matrix A.
  54.              N >= 0.
  55.  
  56.      NRHS    (input) INTEGER
  57.              The number of right hand sides, i.e., the number of columns of
  58.              the matrix B.  NRHS >= 0.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCPPPPOOOOSSSSVVVV((((3333SSSS))))                                                            CCCCPPPPOOOOSSSSVVVV((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      A       (input/output) COMPLEX array, dimension (LDA,N)
  75.              On entry, the Hermitian matrix A.  If UPLO = 'U', the leading N-
  76.              by-N upper triangular part of A contains the upper triangular
  77.              part of the matrix A, and the strictly lower triangular part of A
  78.              is not referenced.  If UPLO = 'L', the leading N-by-N lower
  79.              triangular part of A contains the lower triangular part of the
  80.              matrix A, and the strictly upper triangular part of A is not
  81.              referenced.
  82.  
  83.              On exit, if INFO = 0, the factor U or L from the Cholesky
  84.              factorization A = U**H*U or A = L*L**H.
  85.  
  86.      LDA     (input) INTEGER
  87.              The leading dimension of the array A.  LDA >= max(1,N).
  88.  
  89.      B       (input/output) COMPLEX array, dimension (LDB,NRHS)
  90.              On entry, the N-by-NRHS right hand side matrix B.  On exit, if
  91.              INFO = 0, the N-by-NRHS solution matrix X.
  92.  
  93.      LDB     (input) INTEGER
  94.              The leading dimension of the array B.  LDB >= max(1,N).
  95.  
  96.      INFO    (output) INTEGER
  97.              = 0:  successful exit
  98.              < 0:  if INFO = -i, the i-th argument had an illegal value
  99.              > 0:  if INFO = i, the leading minor of order i of A is not
  100.              positive definite, so the factorization could not be completed,
  101.              and the solution has not been computed.
  102.  
  103. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  104.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  105.  
  106.      This man page is available only online.
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.